package com.lottery.entity;

import java.io.Serializable;

/**
 * 帐户表
 */
public class Account implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6166120597320656733L;

	private int id;// 主键ID
	private int userId;// 用户ID
	private String payPassword;// 支付密码
	private double accountFunds;// 账户余额
	private double accountFreeze;// 冻结资产
	private int accountDelete;// 0是未删除，1是删除

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getPayPassword() {
		return payPassword;
	}

	public void setPayPassword(String payPassword) {
		this.payPassword = payPassword;
	}

	public double getAccountFunds() {
		return accountFunds;
	}

	public void setAccountFunds(double accountFunds) {
		this.accountFunds = accountFunds;
	}

	public double getAccountFreeze() {
		return accountFreeze;
	}

	public void setAccountFreeze(double accountFreeze) {
		this.accountFreeze = accountFreeze;
	}

	public int getAccountDelete() {
		return accountDelete;
	}

	public void setAccountDelete(int accountDelete) {
		this.accountDelete = accountDelete;
	}

	@Override
	public String toString() {
		return "Account [id=" + id + ", userId=" + userId + ", payPassword=" + payPassword + ", accountFunds="
				+ accountFunds + ", accountFreeze=" + accountFreeze + ", accountDelete=" + accountDelete + "]";
	}

}
